import request from '@/sheep/request';

export default {
  // 小区管理列表
  getVillageMgrList: (params) => {
    return request({
      url: '/trade/delivery/pick-up-store/page',
      method: 'GET',
      params,
    });
  },
  // 小区管理列表
  getVillageMgrDetail: (params) => {
    return request({
      url: '/trade/delivery/pick-up-store/get',
      method: 'GET',
      params,
    });
  },

  // 获取主理人总数
  getPostCount: (params) => {
    return request({
      url: '/system/user/get-post-count',
      method: 'GET',
      params
    });
  },

  // 主理人管理列表
  getZlrList: (params) => {
    return request({
      url: '/system/user/page',
      method: 'GET',
      params
    });
  },
  // 班级管理列表
  getBjList: (params) => {
    return request({
      url: '/member/class/list-by-mgr',
      method: 'GET',
      params
    });
  },
  // 班级详情
  getBjDetail: (params) => {
    return request({
      url: '/member/class/get-by-mgr',
      method: 'GET',
      params
    });
  },
  // 陪伴成长列表
  getPbCzDetail: (params) => {
    return request({
      url: '/comment/record/page-by-mgr',
      method: 'GET',
      params
    });
  },




  // 5.主理人管理：/system/user/page?pageNo=1&pageSize=10&pageType=1&postId=6&nickname=
  // 6.陪伴师管理：/system/user/page?pageNo=1&pageSize=10&pageType=2&nickname=
  // 10.学员管理：/member/student/page?pageNo=1&pageSize=10&name=
  //  主理人：查主理人下及下级的小区 过滤班级下关联的学员
  //  陪伴师：查班级下关联的学员
  // 11.班级管理：/member/class/list-by-mgr
  //  班级详情：/member/class/get-by-mgr
  // 12.陪伴成长：/comment/record/page-by-mgr
};